home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1997 February
/
EnigmA AMIGA RUN 15 (1997)(G.R. Edizioni)(IT)[!][issue 1997-02][PLANET CD V].iso
/
enigma
/
earcd
/
comm
/
comm2
/
hdrbbs11.lh0
/
HBBS
/
Source
/
Test
/
SharedLib
/
test.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-25
|
529b
|
30 lines
#include "proto/exec.h"
#include "proto/dos.h"
#include "mylib_pragmas.h"
#include "mylib_protos.h"
#include <stdio.h>
#include "common.h"
char __stdiowin[] = "con:0/0/640/100/";
struct Grow *testptr;
struct Library *MyLibBase;
main()
{
MyLibBase = OpenLibrary("mylib.library",0);
if (MyLibBase)
{
printf("Library Opened Sucessfully.\n");
testptr = blurgh(10);
printf("test1 returned = %d %s\n", testptr->i,testptr->string);
CloseLibrary(MyLibBase);
printf("Library Closed.\n");
}
}